Skip to main content

Dex Metadata

Queries the information on the specified Dex's logo.

query Dex_metadata($dex: String!) {
token {
dex_metadata(dex: $dex) {
bg_color
logo
dex_name
fg_color
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://devnet-testing.api.euclidprotocol.com/graphql' \
--data '{"query":"query Dex_metadata($dex: String!) {\n token {\n dex_metadata(dex: $dex) {\n bg_color\n logo\n dex_name\n fg_color\n }\n }\n}","variables":{"dex":"osmosis"}}'

Open in Playground

Arguments

  • dex (String!): The Dex to query.

Return Fields

FieldTypeDescription
bg_colorStringThe background color associated with the DEX logo.
logoStringThe URL of the DEX's logo.
dex_nameStringThe name of the decentralized exchange.
fg_colorStringThe foreground color associated with the DEX logo.